System for sparsely representing and storing geographic and map data

ABSTRACT

Techniques associated with generating and maintaining sparse geographic and map data. In some cases, the system may maintain a factor graph comprising a plurality of nodes. In some cases, the nodes may comprise pose data and sensor data associated with an autonomous vehicle at the geographic position represented by the node. The nodes may be linked based on shared trajectories and shared sensor data.

BACKGROUND

Autonomous vehicles may rely on large amounts of environmental and mapdata to assist with navigation. However, because of the graphical natureand amount of environmental and map data used by the autonomous vehicletransmitting, storing, and processing the environmental and map data isresource and time intensive.

BRIEF DESCRIPTION OF THE DRAWINGS

The detailed description is described with reference to the accompanyingfigures. In the figures, the left-most digit(s) of a reference numberidentifies the figure in which the reference number first appears. Theuse of the same reference numbers in different figures indicates similaror identical components or features.

FIG. 1 is a block-diagram illustrating an example architecture of amapping system associated with a plurality of autonomous vehicles, inaccordance with implementations of the disclosure.

FIG. 2 is a block-diagram illustrating an example architecture of amapping system of FIG. 1 , in accordance with implementations of thedisclosure.

FIG. 3 is an example illustrating a sparse representation of a physicalregion, in accordance with implementations of the disclosure.

FIG. 4 is an example illustrating a portion of the sparse representationof FIG. 3 , in accordance with implementations of the disclosure.

FIG. 5 is another example illustrating a portion of the sparserepresentation of FIG. 3 , in accordance with implementations of thedisclosure.

FIG. 6 is an example illustrating a resulting factor graph after thenodes within the region of FIG. 5 have been collapsed, in accordancewith implementations of the disclosure

FIG. 7 is a flow diagram illustrating an example process associated withinitializing a sparse representation of a physical environment, inaccordance with implementations of the disclosure.

FIG. 8 is a flow diagram illustrating an example process associated withupdating a sparse representation of a physical environment, inaccordance with implementations of the disclosure.

FIG. 9 is another flow diagram illustrating an example processassociated with updating a sparse representation of a physicalenvironment, in accordance with implementations of the disclosure.

FIG. 10 is another flow diagram illustrating an example processassociated with updating a sparse representation of a physicalenvironment, in accordance with implementations of the disclosure.

FIG. 11 is a flow diagram illustrating an example process associatedwith triggering an update to a sparse representation of a physicalenvironment, in accordance with implementations of the disclosure.

FIG. 12 is a flow diagram illustrating an example process associatedwith performing pose graph optimization techniques associated with thesparse representation of a physical environment, in accordance withimplementations of the disclosure.

FIG. 13 is a block diagram of an example system for implementing thetechniques discussed herein.

DETAILED DESCRIPTION

Techniques for sparsely storing, processing, and otherwise utilizingenvironmental data and map data are discussed herein. For example, whenan autonomous vehicle receives a request to travel to a destinationlocation, the autonomous vehicle may navigate along a planned path fromthe current location of the autonomous vehicle to a pickup location topick up a passenger and then from the pickup location to the destinationlocation. The autonomous vehicles may estimate a pose (e.g., positionand/or orientation) of the vehicle and associate with the poseenvironmental data captured by sensors associated with the vehicle. Boththe map data and the environmental data may be used by the autonomousvehicle to assist with navigating to the destination.

For example, the environmental data captured by sensor(s) may be used togenerate a representation of the environment, such as a two- orthree-dimensional representation of the surfaces in an environment, suchas a contour map, a polygon mesh, a wire-frame model, or the like.Generating such a representation may be based at least in part on aposition and orientation of the vehicle and its sensors at the time theenvironment data was captured. Generating and/or updating thisrepresentation may be complicated by environmental data generated for asame portion of the environment by repeated passes of an autonomousvehicle, potentially from different positions and angles, which mayindicate different perspectives of a same object or environment.

In various instances, the autonomous vehicle may encounter a situationwhich requires a portion of the map data and/or environmental data to beupdated. In conventional systems, updating portions of the dataassociated with a geographic region often requires parsing the entiredataset associated with that geographic region and/or performing variousoperations in sequence (which is both time and resource inefficient). Insome time-sensitive operations, such as autonomous vehicle navigation,any delay resulting from updating or retrieving the map data and/orenvironmental data may be problematic.

In some examples, the system, discussed herein, may be configured tostore the map data and/or environmental data as a sparse data graph orfactor graph. In some cases, the sparse data graph may also be indexed,such as along geographic regions, to reduce resource consumption andtime associated with accessing and/or updating the map data and/orenvironmental data. In some cases, the system, discussed herein, maycomprise a database or datastore that maintains an organized and indexedsparse graph of map data and/or environmental data at specific timeintervals that allows various other system of the autonomous vehicle tooperate in parallel on the graph data.

In one specific example, the organized and indexed sparse graph orfactor graph may comprise a plurality of nodes associated with orrepresentative of an environment. In some cases, the nodes may compriseor store pose data as well as a number of factors created frominformation, such as, direction of travel, orientation or IMU data,velocity, image data, radar data, lidar data, thermal data, unary globalfactors, such as received form a global position system (GPS), maplocalization data, and the like, that may be used to organize the nodesinto the factor graph representation of the pose data. In some cases,the plurality of nodes may be sparsely represented as moments (e.g., asix degree of freedom (6DOF) pose at a particular time) along atrajectory or a single node may be formed from a plurality of moments inwhich the 6DOF pose of each moment is maintained in relative to arepresentative node or moment. As an illustrative example, the systemmay store relative transforms (e.g., 6DOF transforms) between the poseof each moment within a node and the representative node or moment. Inthis manner, each moment may be recreated by performing the relativetransforms in reverse.

In one example, an autonomous vehicle may traverse along a route bydetermining trajectories based at least in part on sensor data. Atrajectory may include a set of instructions for actuating the drivesystem up until a horizon time or distance (e.g., the next 50milliseconds, the next 100 milliseconds, the next second, any otheramount of time, the next 3 meters, the next 10 meters, the next 50 feet,any other distance). As the vehicle traverses a trajectory, the vehiclemay determine a first pose (e.g., position and/or orientation) at afirst time based at least in part on first sensor data and a second poseat a second time based at least in part on second sensor data. The firstpose at the first time and the second pose at the second time may berepresented by nodes within the factor graph that are linked based onthe shared trajectory.

In addition to linking nodes within the factor graph based on a sharedtrajectory, in some cases, the system may link nodes using sensor data(such as lidar data, camera data, and the like). For example, two poses(e.g., a first pose and a third pose) along different trajectories maybe linked using the sensor data to indicate a position of the first posewithin the factor graph and/or the environment with respect to the thirdpose. For instance, the system may, based on an analysis of the sensordata, identify landmarks or static environmental objects that arecaptured at both the first pose and the third pose. The system may thenadd a graph link or connection between the first pose and the thirdpose. In some case, the system may determine relative position data(such as a distance between the position of the first pose and the thirdpose) and the relative pose data may be represented by a transform ofthe link between the first pose and the third pose.

As other examples, system may also link nodes based at least in part onpreforming operations associated with each node. For example, the systemmay determine shared unary global factors derived from GPS data, maplocalization data, or other geographic based position data. As anotherexample, the system may link nodes based on preforming associationand/or loop closure operations between the sensor data (e.g., imagedata, lidar data, radar data, and the like) between two nodes. In oneparticular example, the system may determine links by matching thesensor data of a particular nodes based at last in part on existing orpreexisting map data or road networks. In some cases, the system mayalso generate links based at least in part on a determined proximitywithin a Euclidean distance or framework between the relative 6DOF poseof two or more nodes. As an alternative example, the system may alsogenerate links based at least in part on a determined proximity within anon-Euclidean graph distance or framework between the two or more nodes

Of course, in other examples, reducing the amount of data may comprisedetermining a virtual representation (e.g., a pose) that was neveractually traversed or recorded. In such examples, a virtual pose may beselected as a one of a locus of nodes in which a threshold amount ofdata is represented. E.g., data associated with such a virtual node orrepresentation may be such that it is associated with a threshold amountof data from one or more nearby nodes in a cluster of such nodes (e.g.,within a threshold distance—whether physical distance or (weighted)distance in a Euclidian space measured based on a variety of factorsrelevant to use of the data such as, but not limited to, a geographiclocation, a covariance of the data, a quantity/density of the data, anumber of unique features represented in the data, or the like).

In some cases, a pose may be selected to be included in the factor graphbased on a predetermined time interval, as discussed above. In othercases, the system may select a pose for inclusion within the factorgraph based on a predetermined Euclidian distance from other nodes alonga trajectory, based on a desired node density, as well as other factors.For instance, the graph may have nodes within a range of a desiredsensor system. As an example, the nodes may be close enough to eachother (e.g., within an Euclidian or physical distance and/ornon-Euclidian graph distance), such that the system is able to determinefrom overlapping sensor data (e.g., the lidar data, camera data, and thelike) that two nodes on different trajectories may be connected, asdiscussed above. Thus, in some examples, the sparsity of the nodes of agraph may be determined based on the quality or range of the sensorssystems associated with the autonomous vehicle utilizing the factorgraph for navigation. In various examples, such temporal and/or spatialconstraints on representative nodes may be related via a typicalvelocity or speed through which the vehicle traverses between regionsassociated with the nodes.

In some cases, as nodes associated with multiple overlappingtrajectories are input into or consumed by the factor graph, the systemmay resolve the multiple trajectories into a resulting high definitionmap that may be more quickly or easily (e.g., less resource intensive)consumed by other systems of the autonomous vehicle (such aslocalization, perception, panning, etc.). For examples, prior toresolving or optimizing the trajectories, multiple individual nodesassociated with different trajectories may be positioned in relativeproximity to each other. Thus, in some cases, each node or moment withina predetermined distance may be resolved into a single node and thesingle node may be utilized during a pose graph optimization technique.For example, each node may comprise a plurality of movements in whichthe pose (e.g., the 6DOF pose) of each moment is maintained relative toa representative moment. In this manner, subsequent operations may beperformed for the node may be limited to the representative moment,thereby reducing operational time and costs. Of course, any othertechniques are contemplated, such as, but not limited to bundleadjustments, Simultaneous Localization and Mapping (SLAM), RSLAM, andthe like. In some cases, the pose of the new node may be an average posebased on the relative poses of the plurality of the nodes beingcombined.

In some specific examples, a plurality of nodes or moments may becombined into a single node using a combination of one or more graphdistance threshold with one or more geographical or physical (e.g.,Euclidian) distance thresholds. As such, the nodes being combined may betightly related or grouped within the factor graph and tightly spacedwithin the physical environment. In one particular example, the numberof or distance between the nodes of the factor graph may be based on adesired graph distance or physical distance in a final or resultinggraph. For instance, the distance of the nodes may result from theparticular pose graph optimization technique applied to generate thefinal or resulting graph. In at least some examples, a metric may bedetermined, and the nodes generated in the factor graph may be dependenton the evaluation of the metric.

In some cases, an environment may change, such as when a road is built,removed, or rerouted (e.g., during constructions the lanes are often atleast temporarily rerouted). In these cases, the system may beconfigured to check the newly received pose data (and data associatedtherewith) with the resulting factor graph. In some examples, if greaterthan or equal to a predetermined number of poses are greater than orequal to a predetermined distance (e.g., physical or Euclidean distanceand/or graph distance) from a nearest node of the resulting factorgraph, the system may trigger a graph update. In some instances,updating the graph may comprise removing one or more of the plurality ofnodes, adding the newly received pose data, and re-optimizing the graphusing a pose graph optimization technique. In this manner, the mapupdating may be automated based on data received while the autonomousvehicles are in operation. In some cases, the graph update may beisolated or limited to a select portion of the graph, such as a graphdistance threshold or physical distance threshold from the new pose ornew poses. In some examples, the data associated with each node may bemaintained, such that the node or moment may be recreated rather thanremoving the data or node itself. For example, the system may storerelative transforms between constituent nodes or moments that areselected to be removed.

Similarly, the system may be configured to decay or remove aging datafrom the graph. For example, the system may update a node following thereceipt or capture of a predetermined number of additional nodes withina graph distance threshold (e.g., (edge distance, Mahalanobis distance,various graph clustering metrics, etc.) and a physical distancethreshold (e.g., a Euclidian distance, geographic distance, etc.) of acurrent node, a quality threshold associated with the sensor data beingmeet or exceeded (e.g., a point cloud nosiness threshold is met orexceeded), a factor graph quality metric within a region comprising thenode being met or exceeded (e.g., a map quality metric, convergencemetric, and the like), a semantic feature, a node reaching apredetermined age, an amount of time that has passed (e.g., apredetermine interval has elapsed), or the like.

As an illustrative example, the system may receive five sets orinstances of pose data and sensor data representative of the samestretch of roadways, such as a span of a bridge. For each set of fiveposes, the system may select the most recent pose to insert or add tothe graph and/or perform re-optimization on the correspond portion ofthe factor graph (e.g., removal of the aging node and adding of theselected pose data). In this manner, if the pose data and sensor dataassociated with a newly added node or trajectory differs from the posedata and sensor data of aging nodes (e.g., the environment has changed),the factor graph may integrate that change as the new nodes andtrajectories are added to the graph and/or the aging nodes andtrajectories are removed from the graph. In at least some such examples,the nodes may be associated with a weight and data associated with suchnodes may be downweighted based on such decay models.

In the cases in which portions of the factor graph are out of date, newdata is received, or need to be updated, the system may localize theupdate around that portion. For instance, by updating nodes from thegraph within a graph distance threshold or physical distance thresholdof the out of date node and re-optimizing, as discussed above.Additionally, the system may be able to determine the aging portions ofthe graph based on a location at which two or more nodes have a graphdistance of less than or equal to a graph distance threshold but aphysical distance of greater than or equal to a physical distancethreshold.

As discussed herein, the factor graph representation of the geographicdata may be used to improve the overall safety of autonomous vehicles.For example, the sparse representation discussed herein, may be morequickly consumed or utilized by the operational systems of the vehicle,thereby improving the reaction time and operational decision making ofthe autonomous vehicle.

FIG. 1 is an example block-diagram illustrating an example architecture100 of a mapping system 102 associated with a plurality of autonomousvehicles, in accordance with implementations of the disclosure. In theillustrated example, sensor systems 104 associated with one or moreautonomous vehicles 106 may capture and send sensor data 108 (e.g.,environmental data, vehicle pose data, and the like) to the mappingsystem 102.

The mapping system 102 may also store map data as one or more factorgraphs 110 representative of one or more environments. As discussedabove, the factor graph 110 may include a plurality of nodes thatrepresent the sensor data 108 at one or more particular moments (e.g., avehicle pose, at a specific time, at a specific pose, etc.). In someexamples, the vehicle may estimate the pose using a Bayesian filter(such as a Kalman filter), bundle adjustment, maximum a posterioriestimation (MAP), and/or SLAM algorithm, as discussed in more detail inU.S. patent application Ser. No. 15/674,853, filed Aug. 11, 2017, theentirety of which is incorporated herein. Individual nodes of the factorgraph 110 may be connected based on a shared trajectory and/or based onone or more environmental or sensor data link (e.g., shared landmarks orstatic objects represented in the sensor data). In this manner, thefactor graph 110 may comprise both graph-based links (e.g., nodes areconnected based on an analysis of the sensor data 108) and physicalposition or distance links (e.g., two nodes are physically close in theenvironment).

In this example, as the mapping system 102 receives additional sensordata 108 from the one or more vehicles 106 traveling within theenvironment, the mapping system 102 may update the factor graph 110, asdiscussed above. For example, the mapping system 102 may detect acombination of pose data that is greater than a physical distancethreshold or a graph distance threshold from existing nodes of thefactor graph 110.

In this example, the mapping system 102 may integrate the newly receivedpose data as one or more new nodes of the factor graph. The newly addednodes may be connected to each other via a shared trajectory but areotherwise unconnected to the other nodes of the factor graph 110. Themapping system 102 may then apply one or more link evaluationtechniques, discussed in more detail below with respect to FIG. 2 , togenerate links between the existing nodes of the factor graph 110 andthe newly added nodes. In some cases, the mapping system 102 may alsoapply one or more pose graph optimization techniques at least for aposition of the factor graph in proximity (e.g., within an updatedphysical distance threshold or an updated graph distance threshold) toresolve or combine the newly added nodes with one or more existing nodesor with each other to reduce the overall size of the factor graph 110and maintain the sparse representation. Once a new node is added torepresent one or more nodes, the sensor data associated therewith may becombined and/or culled. For example, repetitive, low quality, and/orobsolete sensor data may be deleted—if two sets of sensor data depictthe same wall, the lower-grade sensor data may be archived or deleted;if a former set of sensor data depicts a tree or sign that no longerexists that sensor data may be deleted. In some examples, such data maybe decayed, downweighted, or otherwise combined (e.g., with anassociated covariance) to take inconsistencies into account whilepreserving the data for some use. Alternatively, the sensor dataassociated with merged nodes or moments may be maintained based on therelative poses of a representative moment of the node and the othermerged moments or nodes. In one example, a relative transform betweenthe representative node and the other moments of the node may bemaintained by the system. In this manner, future operations may beperformed on the representative moment or node in lieu of preformingoperations on each moment of the node, thereby improving processing timeand reducing processing resources without detecting or culling the datafrom the factor graph.

In the current example, the newly updated factor graph 110 may then beused for indexing sensor data (and/or representations thereof—meshes,features, keypoints, etc.) and/or the most recently generatedrepresentation of the environment. When new pose data and sensor data isreceived from a vehicle that corresponds to a representative node, thesystem may retrieve the sensor data and/or most recent representationassociated with that node instead conducting a pose graph estimationover all of the former nodes. This may simplify the process of updatingand/or retrieving the environment representation based on the new sensordata.

In some cases, the factor graph 110 and/or a trajectory 112 or othertype of navigation product may be determined by the mapping system 102using the factor graph 110 and provided back to the vehicles 106.

FIG. 2 is another example block-diagram illustrating an examplearchitecture 200 of a mapping system 102 of FIG. 1 , in accordance withthe implementations of the disclosure. In the current example, a datastore 202 may maintain or otherwise manage one or more factor graphsrepresentative of one or more physical environments. Individual nodes ofthe factor graph may be removed, updated, or merged/combined with othernodes as additional sensor data (e.g., pose data and environmental data,and the like) are received from operational vehicles. The individualnodes may be removed, updated, or merged/combined based on the output ofa number of components, such as boundary sampling component 204,odomerty link evaluation component 206, lidar link proposal component208, lidar link evaluation component 210, unary link proposal component212, and unary link evaluation component 214.

In the illustrated architecture 200, each of the components 204-214 mayoperate independently as parallel operations to maintain and update thefactor graphs stored by the data store 202. As one illustrative example,when sensor data is received, the boundary sampling component 204 maydetermine a region of interest associated with a set of sensor datareceived from operational vehicles. In some examples, the region ofinterest may correspond to a portion of a global map that has previouslybeen mapped or for which no map or environmental representation yetexists. The region of interest may estimate an extent of the geographicregion identified in the sensor data. The region of interest as well asthe sensor data may be provided or received at a node proposal component216. The node proposal component 216 may propose or otherwise generate aset of potential nodes along a trajectory associated with the senordata. Such nodes may comprise any number of poses determined based atleast in part on data available to the vehicle or subsets thereof,including virtual nodes in between nodes. In some cases, the nodeproposal component 216 may determine that the region of interest hasless than a desired number of nodes (e.g., an associated metric is usedto determine that the data of associated nodes only provides less thanor equal to a threshold confidence level for pose determination) or doesnot already exist with respect to the factor graph and, in response, addat least a portion of the potential nodes to the factor graph maintainedby the data store 202. In additional or alternate examples, the nodeproposal component 216 may determine that at least a portion of theregion of interest overlaps a portion of a factor graph maintained bythe data store 202. In such an instance, anode may be determined inassociation with anode that already exists in the factor graph. Such anode may be a candidate to be merged with the existing node according tothe techniques discussed herein.

In some cases, the odometry link evaluation component 206 may evaluatewithin the region of interest odometry data included in the sensor datato determine links or connections between the newly added nodes along atrajectory. In this example, the links or connections generated by theodomerty link evaluation component 206 may be associated with a singlevehicle and a single set of sensor data along a shared trajectory, asdiscussed above. Such odometry links, as described in detail herein, maybe representative of a distance traveled between successive (ornon-successive) nodes and an expected amount of overlap of data. As anon-limiting example, if lidar data is covisible around a 360 degreefield of view for 150 meters (or other predetermined threshold distance)and the vehicle pose differs by less than 150 meters (or otherpredetermined threshold distance) between nodes as indicated by odometrydata, some portion of lidar data should overlap between measurements.

As discussed above, the newly added nodes may be unconnected to othernodes of the factor graph maintained by the data store 202. In thisexample, the lidar link proposal component 208 may, based on the regionof interest, propose links or connections between existing nodes and thenewly added nodes (e.g., between nodes along different trajectories) orbetween two newly added nodes. The proposed links may then be evaluatedby the lidar link evaluation component 210. For instance, the lidar linkevaluation component 210 may evaluate the proposed links based on thereceived lidar data. As some illustrative examples, the lidar linkevaluation component 210 may preform voxel covariance alignment, anxioussearch alignment, iterative closest point algorithms, or the like toevaluate the proposed links and add the passing links to the factorgraph. Such links may indicate a likelihood that two different sets ofsensor data are associated with a same portion of an environment. Such alink may comprise a transform or any other indication of a relationbetween a first set of sensor data and a second set of sensor data. Asan illustrative example, details of voxel covariance alignmentoperations are discussed in U.S. application Ser. Nos. 16/722,598 and16/722,771, both of which are incorporated herein by reference in theirentirety.

The newly added nodes may also be linked or connected to other nodes bythe unary link proposal component 212 and the unary link evaluationcomponent 214. For example, the unary link proposal component 212 may,within the region of interest, determine links or connections based onvehicle pose data of various nodes and the unary link evaluationcomponent 214 may evaluate the proposed links prior to adding the linksto the factor graph.

In the illustrated example, a sparse pose estimation component 218and/or the factor graph sparsifiction component 220 may be configured tocollect moments or candidate nodes into clusters representative by asingle moment as a node of the factor graph. For example, a set of nodesor moments may be grouped or combined by the sparse pose estimationcomponent 218 and/or the factor graph sparsifiction component 220 suchthat a representative moment or node is selected and transforms betweenthe pose of the other moments or nodes and the representative moment ornode are stored with respect to the factor graph. In various examples,such additional nodes may trigger a pose graph optimization/relaxationto minimize an amount of uncertainty (or otherwise) associated with suchnodes and associated data/map.

FIG. 3 is an example illustrating a sparse representation 302 of aphysical region 304, in accordance with implementations of thedisclosure. In the illustrated example, the physical region 304 mayrepresent a parking lot as shown. The parking lot may be traversed byvarious autonomous vehicles. Each of the vehicles may collect sensordata (e.g., pose data and environmental data, and the like) with respectto the parking lot. A mapping system, such as mapping system 102 of FIG.1 , may then generate the sparse representation 302 in the form of thefactor graph, as illustrated.

In the current example, the sparse representation 302 may include aplurality of nodes having links or connections between them. In thisexample, the solid links may represent nodes that are associated with ashared trajectory and the dashed links may represent graph links addedby, for instance, the unary link components or the lidar link componentsof FIG. 2 . Thus, the dashed lines may represent graph links betweennodes of different trajectories and the solid lines may represent linksbetween nodes along the same trajectories.

In the current example, one or more of the illustrated nodes, such asnode 306, may comprise a plurality of moments, generally indicated by308. Each moment may comprise pose data (6DOF pose of a vehicle) andsensor data (e.g., lidar data, red-green-blue image data, radar data,thermal data, and the like). A location of the individual moments of aparticular node may be maintained by the factor graph as a relative posebetween the individual moment and the representative moment of the node(e.g., the moment presented by the factor graph and linked to the othernodes).

FIG. 4 is an example illustrating a portion 400 of the sparserepresentation 302 of FIG. 3 , in accordance with implementations of thedisclosure. Again, as discussed above, the sparse representation 302 maycomprise a plurality of nodes that represent a combination of pose dataand environmental data at a given physical position and at a given time.For example, each node may include a plurality of moments each having anassociated pose data and environmental data at a given physical positionand at a given time.

In the current example, individual nodes may be connected or linkedtogether. In the illustrated example, a first node 402 is shown. Thefirst node 402 is connected to a second node 404 via a first link 406.The first link 406 may represent a shared trajectory within the physicalspace traversed by an autonomous vehicle that captured the sensor data(e.g., the pose data and environmental data) associated with the firstnode 402 and the sensor data associated with the second node 404.

In the current example, the first node 402 may also comprise a link to athird node 408 via a second link 410. The second link 410 may representa graph link or a non-Euclidian distance measurement. For instance, thesensor data, such as image or lidar data of the environment, associatedwith the first node 402 and the third node 408 may include overlappingstatic objects or other environmental details, such that the mappingsystem is able to determine that the sensor data associated with boththe first node 402 and the third node 408 represent the same area and,thus, the second link 410 should be generated. In this example, thegraph links, such as second link 410, may assist with connectingseparate trajectories or factor graphs to each other to form a unifiedglobal factor graph of a larger environment. For instance, in theillustrated example, the trajectories associated with the third node 408are unconnected with the trajectories associated with the first node 402and the second node 404. However, the first node 402 and the third node408 are relatively close in physical distance, as shown. Thus, the graphlinks, such as second link 410, may be utilized to align and/or combinedistinct factor graphs together. As other examples, system may also linknodes, such as the node 402 and the node 408, based at least in part onshared unary global factors derived from GPS data, map localizationdata, or other geographic based position data, preforming associationand/or loop closure operations between the environmental or sensor data(e.g., image data, lidar data, radar data, and the like) between twonodes 402 and 408, by matching the environmental or sensor data of thenodes 402 and 408 based at last in part on existing or preexisting mapdata or road networks, on a determined proximity within a Euclideandistance or framework between the relative pose data of the node 402 and408, a determined proximity within a non-Euclidean graph distance orframework between the nodes 402 and 408.

FIG. 5 is another example illustrating a portion 500 of the sparserepresentation 302 of FIG. 3 , in accordance with implementations of thedisclosure. In the current example, the sparse representation 302 maycomprise more than a desired number of nodes within a region indicatedby 502. For instance, multiple vehicles may have captured sensor datathat resulted in nodes being placed in close proximity to each other. Inthis example, the mapping system may identify that more than a thresholdnumber of nodes are within a predetermined graph distance or apredetermined physical distance (as represented by the links 504 of aphysical distance and the links 506 of other types of measurements, suchas covisibility within lidar data).

In this example, the mapping system may collapse the nodes of theportion 500 and/or to the region 502 and apply a pose graph optimizationtechnique to reduces uncertainty by adjusting poses throughout thegraph. In some cases, the pose of the representative node may be a poseselected based on the relative poses of the plurality of the nodes beingcombined. In various examples, a representative node may be createdwhich is representative of a threshold amount of information associatedwith one or more other nodes of a cluster of nodes.

In one particular example, after the nodes of the region 502 areclustered, a single representative node may remain in the region 502 ofthe factor graph and comprise the data associated with each of theoriginal nodes within the region 502. The representative node may alsocomprise or maintain each of the external link associated with theindividual original nodes (e.g., each link between a node within theregion 502 and a node outside of the region 502 are maintained), as wellas all of the data associated therewith.

In some cases, the representative node may comprise the data associatedeach of the original nodes as well as the links between the originalnodes. In these cases, the relative pose of the original nodes withrespect to the representative node may be maintained within the cluster.For example, a relative transform may be stored with respect to therepresentative node and the other nodes of the cluster. In this manner,only the representative node may be used when performing additional posegraph optimization technique or collapsing events. For example,additional nodes may be inserted into the factor graph proximate to theresulting node. In some instances, the number of additional nodes andthe representative node may again meet or exceed a threshold and thesystem may again collapse a region including the representative node. Inthis second round, only the representative node may be processed, as apose of the remaining original nodes is maintained relative to therepresentative node.

FIG. 6 is an example illustrating a resulting factor graph 600 after thenodes within the region 502 of FIG. 5 have been collapsed, in accordancewith implementations of the disclosure. As discussed above, overlappingor multiple factor graphs and/or nodes of the factor graph may beclustered or otherwise combined to provide a resulting factor graph 600that has nodes that are represented sparsely (e.g., greater than aphysical distance threshold and/or a graph distance threshold) from eachother. The resulting factor graph 600 may then be used to generateplanned trajectories or paths for use by the autonomous vehicles duringnavigation form a starting location to a destination.

FIGS. 7-12 are flow diagrams illustrating example processes associatedwith the live stream events as discussed above. The processes areillustrated as a collection of blocks in a logical flow diagram, whichrepresent a sequence of operations, some or all of which can beimplemented in hardware, software, or a combination thereof. In thecontext of software, the blocks represent computer-executableinstructions stored on one or more computer-readable media that, whichwhen executed by one or more processors, perform the recited operations.Generally, computer-executable instructions include routines, programs,objects, components, encryption, deciphering, compressing, recording,data structures and the like that perform particular functions orimplement particular abstract data types.

The order in which the operations are described should not be construedas a limitation. Any number of the described blocks can be combined inany order and/or in parallel to implement the processes, or alternativeprocesses, and not all of the blocks need be executed. For discussionpurposes, the processes herein are described with reference to theframeworks, architectures and environments described in the examplesherein, although the processes may be implemented in a wide variety ofother frameworks, architectures or environments.

FIG. 7 is a flow diagram illustrating an example process 700 associatedwith initializing a sparse representation of a physical environment, inaccordance with implementations of the disclosure. As discussed above,an autonomous vehicle may be configured to capture sensor data as thevehicle traverses through the physical environment. The captured sensordata may be fused or combined with sensor data from other vehicles orsystems to generate a map. However, storing all the sensor dataassociated with an environment may result in a very large resourceintensive map that is not suitable, in all cases, for autonomous vehiclenavigation. The process 700 discusses one method of storing the map dataas a sparse representation or factor graph that may be more quickly andeasily consumed by the systems of autonomous vehicles.

At 702, a mapping system may receive pose data, and environmental datafrom an autonomous vehicle traversing a physical environment. In somecases, the pose data may represent a 6DOF pose of the vehicle at a givenor particular time and at a given or particular location. The pose datamay include an associated trajectory that may comprise a path taken bythe vehicle as the vehicle traverses the environment from a first poseto a second pose and so forth. In some cases, the environmental data maycomprise image data, thermal data, lidar data, and the like.

At 704, the mapping system may determine a region of interest associatedwith the pose data and the environmental data. In some examples, themapping system may determine a region of interest with respect to anexisting or global factor graph or sparse representation of the physicalenvironment. For instance, the region of interest may correspond to ageographic region associated with the pose data and the environmentaldata.

At 706, the mapping system may determine a set of candidate nodes (ormoments) based at least in part on the region of interest and the posedata and the environmental data. For example, nodes may be generatedbased on the pose data and a time interval, such that, as the vehicletravels, each node corresponds to a pose of the vehicle at the timeinterval. In other examples, the nodes may be generated based on thepose data and a physical distance interval, such that each nodecorresponds to a pose of the vehicle after the vehicle has traversed athreshold distance. In some cases, the time interval may be based on atime interval associated with one or more sensor systems in the vehicleand/or the distance thresholds may be based on a range of one or moresensor systems of the vehicle. In various examples, such nodes may bewithin a threshold distance of each other using some other metric (e.g.,a Euclidian distance between features associated with the dataassociated with the nodes).

At 708, the mapping system may determine a first set of links betweenthe nodes of the set of candidate nodes based at least in part on thepose data. For example, the mapping system may link consecutive nodesalong the trajectory or planned path of a vehicle. In this manner, eachof the nodes generated from sensor data corresponding to a continuousdrive time of a vehicle may be linked using the pose data and/or atrajectory of the vehicle. In some cases, the first set of links mayrepresent a physical (e.g., Euclidian) distance link using, forinstance, the pose data and/or odometry data.

At 710, the mapping system may determine a second set of links betweennodes of the set of candidate nodes based at least in part on theenvironmental data. For example, the mapping system may identifyoverlapping static objects or landmarks within lidar data and/or imagedata associated with two or more of the candidate nodes. In some cases,each link of the second set of links may be evaluated using the posedata to assist in ensuring that quality valid links are establishedbetween the candidate nodes.

As other examples, mapping system may also link candidate nodes based atleast in part a determined shared unary global factors derived from GPSdata, map localization data, or other geographic based position data.The mapping system may link candidate nodes based on preformingassociation and/or loop closure operations between the environmentaldata (e.g., image data, lidar data, radar data, and the like) betweentwo nodes. In one particular example, the mapping system may determinelinks by matching the environmental data of a particular candidate nodesbased at last in part on existing or preexisting map data or roadnetworks.

At 712, the mapping system may generate a factor graph and, at 714, themapping system may apply a pose graph optimization technique based atleast in part on the set of candidate nodes, the first set of links, andthe second set of links, as discussed above. In some cases, the factorgraph may be used to generate future trajectories or planned paths for avehicle between a starting location and a destination.

FIG. 8 is a flow diagram illustrating an example process 800 associatedwith updating a sparse representation of a physical environment, inaccordance with implementations of the disclosure. In some cases, ageographic or physical region may already have an existing or associatedfactor graph (e.g., the geographic region has been previously traversedby one or more vehicles). In this example, a mapping system mayintegrate or combine the newly captured sensor data with the existingfactor graph.

At 802, a mapping system may receive sensor data from an autonomousvehicle traversing a physical environment. In some cases, the sensordata may include pose data, trajectory, lidar data, image data, thermaldata, odomerty data, and the like.

At 804, the mapping system may determine a region of interest associatedwith the sensor data and a stored factor graph associated with thephysical environment. In some examples, the mapping system may determinea region of interest as the geographic region of the factor graphassociated with the sensor data.

At 806, the mapping system may determine a set of candidate nodes (ormoments) based at least in part on the region of interest and the sensordata. In some examples, nodes may be generated based on the pose dataand/or IMU data and a time interval. For instance, the candidate nodesmay be generated based on pose data at various time intervals ordistance thresholds, such that as the vehicle travels nodes may begenerated along the trajectory at period positions. In some cases, thecandidate nodes may be generated based on graph distance thresholds orphysical distance thresholds with respect to existing nodes of thefactor graph.

At 808, the mapping system may determine a first set of links betweencandidate notes of the set of candidate nodes based at least in part onthe sensor data. For instance, the mapping system may link consecutivenodes along the trajectory or planned path of a vehicle using pose data,IMU data, odometry data, and the like. As discussed above, each of thecandidate nodes may be linked to represent a continuous drive trajectoryof a vehicle capturing the sensor data. The candidate nodes may also belinked using detected static objects within lidar data and/or image dataas discussed above.

At 810, the mapping system may determine a second set of links betweencandidate nodes of the set of candidate nodes and existing nodes of thefactor graph based at least in part on the region of interest and thesensor data. For example, the mapping system may link existing nodes tocandidate nodes in response to determining the lidar data and/or imagedata represent the same static objects or environment features. In somecases, the links between the existing nodes and the candidate nodes maybe used to assist in geographically aligning the candidate nodes withthe factor graph.

At 812, the mapping system may evaluate the first set of links and thesecond set of links. For instance, the links may be evaluated usingvarious techniques, such as voxel convolution, anxious search alignment,or the like.

At 814, the mapping system may update the factor graph by applying apose graph optimization technique based at least in part on the set ofcandidate nodes and the existing nodes of the factor graph within theregion of interest. In some cases, the mapping system may select arepresentative node for the set of a candidate nodes and the existingnodes of the factor graph within the region of interest. In some cases,the nodes may be selected based at least in part on age of the nodes, aquality of the sensor or environmental data associated with the nodes, asemantic nature of the nodes, and the like.

FIG. 9 is another flow diagram illustrating an example process 900associated with updating a sparse representation of a physicalenvironment, in accordance with implementations of the disclosure. Insome cases, various data associated with the factor graph may age orbecome out of date over time. For example, a street may be rerouted,upgraded or otherwise changed. In these cases, the map or factor graphshould be updated to remove the aging or out of date nodes.

At 902, a mapping system may receive a plurality of nodes associatedwith a region of interest to insert into a factor graph. For example,the plurality of nodes may include one or more candidate nodesassociated with newly captured sensor data and selected, evaluated, andlinked as discussed herein.

At 904, the mapping system may determine that a number of nodesassociated with the plurality of nodes is greater than a threshold. Forexample, the mapping system may be configured to trigger an update tothe nodes and/or other data associated with the factor graph in responseto a new set of nodes associated with a region exceeding or otherwisemeeting a threshold. In this manner, the mapping system may initiateautomatic updates on local regions of the factor graph when sufficientnew sensor data is available for that region.

At 906, the mapping system may remove or otherwise trim existing nodesof the factor graph within the region of interest. For example, thenodes and associated data may be purged or otherwise deleted from thefactor graph. In some cases, the mapping system may be configured todecay or remove aging data from the graph following the receipt orcapture of a predetermined number of additional nodes within a graphdistance threshold (e.g., (edge distance, Mahalanobis distance, variousgraph clustering metrics, etc.) and a physical distance threshold (e.g.,a Euclidian distance, geographic distance, etc.) of a current node. Inother examples, the mapping system may select nodes for removal based atleast in part on a quality threshold associated with the sensor databeing meet or exceeded (e.g., a point cloud nosiness threshold is met orexceeded), a factor graph quality metric within a region comprising thenode being met or exceeded (e.g., a map quality metric, convergencemetric, and the like), a semantic feature, a node reaching apredetermined age, an amount of time that has passed (e.g., apredetermine interval has elapsed), and/or a combination thereof.

At 908, the mapping system may select at least a first node of theplurality of nodes to insert into the factor graph. In some cases, thenumber of nodes selected may be based at least in part on the size ofthe region of interest, a minimum amount of data required to ensure athreshold confidence for localization at any point between nodes, anumber of nodes removed with respect to 906, or the like. In othercases, the mapping system may evaluate each of the plurality of nodesand select a predetermined number of nodes having the highest qualitypose data, environmental data, and the like.

At 910, the mapping system may determine links associated with the firstnode as well as any other nodes inserted into the region. As discussedabove, the mapping system may generate links associated with links ofphysical distances (e.g., based on shared trajectories) and linksassociated with graph factors, such as in response to detecting matchinglidar or image data.

At 912, the mapping system may update the factor graph by applying apose graph optimization technique based at least in part on the firstnode and the links. In this example, the update may be localized to theregion of interest to reduce the processing time and resourcesassociated with a map or factor graph update.

FIG. 10 is another flow diagram illustrating an example process 1000associated with updating a sparse representation of a physicalenvironment, in accordance with implementations of the disclosure. Insome instances, the mapping system may receive sensor data associatedwith unexplored or unmapped regions. For example, a new road, parkinglot, or other path may be constructed.

At 1002, a mapping system may receive a plurality of nodes associatedwith a region of interest to insert into a factor graph. For example,the plurality of nodes may include one or more candidate nodesassociated with newly captured sensor data and, again, selected,evaluated, and linked as discussed herein.

At 1004, the mapping system may determine that the plurality of nodesare associated with an unmapped region. For example, the mapping systemmay determine the plurality of nodes are greater than a thresholddistance (e.g., graph distance and/or physical distance) from existingnodes of the factor graph. As an example, if a new road is constructedat least one of the nodes generated from the corresponding sensor datamay be greater than the threefold distance from other existing nodes ofthe factor graph. In this manner, the distance threshold may be used totrigger a graph update to add the newly scanned region of interest tothe global map or graph. As other examples, the mapping system maytrigger a graph update for an unmapped region based at least in part onone or more unary global factors derived from GPS data, map localizationdata, or other geographic based position data meeting or exceeding athreshold. As another example, the mapping system may trigger a graphupdate based at least in part on a quality metric, convergence metric,or the like associated with the region of the factor graph, an edgedistance, a Mahalanobis distance, one or more graph clustering metrics,or the like meeting or exceeding a threshold. At 1006, the mappingsystem may select at least a first node of the plurality of nodes toinsert into the factor graph. In some cases, the number of nodesselected may be based at least in part on the size of the region ofinterest, the number of nodes associated with the plurality of nodes, orthe like. In other cases, the mapping system may evaluate each of theplurality of nodes and select a predetermined number of nodes having thehighest quality pose data, environmental data, and the like.

At 1008, the mapping system may determine links associated with thefirst node as well as any other nodes inserted into the region ofinterest. As discussed above, the mapping system may generate linksassociated with links of physical distances (e.g., based on sharedtrajectories) and links associated with graph factors, such as inresponse to detecting matching lidar or image data.

At 1010, the mapping system may update the factor graph by applying apose graph optimization technique based at least in part on the firstnode and the links. In this example, the update may be localized to theregion of interest to reduce the processing time and resourcesassociated with a map or factor graph update. For example, the mappingsystem may cluster or group a set of nodes or moments, as discussedabove, to store relative transforms between the pose data of the nodesof the cluster and a representative node.

FIG. 11 is a flow diagram illustrating an example process 1100associated with triggering an update to a sparse representation of aphysical environment, in accordance with implementations of thedisclosure. In some cases, two regions of the global factor graph or mapmay be relatively close in physical proximity but remain unlinked orunconnected, such as when a building, wall, or other obstacle is locatedbetween the nodes of the two regions. In these cases, the mapping systemmay be able to identify the two regions and trigger a map update toattempt to further connect the two physically proximate regions withinthe factor graph.

At 1102, the mapping system may determine that a first node is less thanor equal to a graph distance (whether or not a physical or Euclidiandistance) from a second node. For instance, the first node and thesecond node may both be linked to a third node based on shared staticobjects visible between the first node and the third node and/or thesecond node and the third node.

At 1104, the mapping system may determine that the first node is greaterthan or equal to a physical distance from the second node. For example,no vehicle may have traversed a direct path between the first node andthe second node, resulting in the factor graph representing the firstnode and the second node at a large physical distance from each other.

At 1106, the mapping system may determine a region of interest of thefactor graph associated with the first node and the second node. Forinstance, the mapping system may determine a radius or diameter about acenter point between the first node and second node to include in theregion. In other cases, the mapping system may select a graph distancethreshold and a physical distance threshold around the first node andthe second node and include each node within the graph distancethreshold and/or the physical distance threshold as part of the regionof interest.

At 1108, the mapping system may trigger a factor graph update for theregion of interest. For example, the mapping system may trigger thefactor graph update based at least in part on the first node being lessthan or equal to the graph distance threshold and greater than or equalto the physical distance threshold. In some cases, the factor graphupdate for the region of interest may be to attempt to physically relatethe first node to the second node in a way more representative of thephysical world.

FIG. 12 is a flow diagram illustrating an example process 1200associated with performing pose graph optimization techniques associatedwith the sparse representation of a physical environment, in accordancewith implementations of the disclosure. As discussed above, whencollapsing or optimizing one or more regions of the factor graph, themapping system may cause the nodes within the region to be fixedrelative to a resulting node or nodes, such that the data (e.g., posedata and environmental data, and the like), of each node within theregion are maintained within the factor graph.

At 1202, the mapping system may determine a region of interestassociated with a factor graph. For example, as discussed above, themapping system may determine the region of interest by identifying thatgreater than or equal to a threshold number of nodes within a physicaldistance threshold and/or a graph distance threshold of each other.

At 1204, the mapping system may generate a representative node based atleast in part on the nodes of the factor graph associated with theregion of interest. For example, during pose optimization, the mappingsystem may generate a representative node based on the data associatedwith each node of the region. In other examples, the system may selectone of the nodes in the region as the surviving or representative node,as discussed above.

At 1206, the mapping system may store a transform between a of the nodesof the factor graph associated with the region of interest with respectto the representative node. For example, the mapping system may maintaineach node at a distance and a 6DOF pose relative to the representativenode. In this manner, when the mapping system applies future poseoptimization techniques, only the data associated with therepresentative node need be considered, thereby improving processingtime and reducing resource consumption associated with the optimizationprocess.

FIG. 13 depicts a block diagram of an example system 1300 forimplementing the techniques discussed herein. In at least one example,the system 1300 may include a vehicle 1302, such the autonomous vehiclesdiscussed above. The vehicle 1302 may include computing device(s) 1304,one or more sensor system(s) 1306, one or more emitter(s) 1308, one ormore communication connection(s) 1310 (also referred to as communicationdevices and/or modems), at least one direct connection 1313 (e.g., forphysically coupling with the vehicle 1302 to exchange data and/or toprovide power), and one or more drive system(s) 1314. The one or moresensor system(s) 1306 may be configured to capture the sensor data 1332associated with a surrounding physical environment.

In at least some examples, the sensor system(s) 1306 may include thermalsensors, time-of-flight sensors, location sensors (e.g., GPS, compass,etc.), inertial sensors (e.g., inertial measurement units (IMUs),accelerometers, magnetometers, gyroscopes, etc.), lidar sensors, radarsensors, sonar sensors, infrared sensors, cameras (e.g., RGB, IR,intensity, depth, etc.), microphone sensors, environmental sensors(e.g., temperature sensors, humidity sensors, light sensors, pressuresensors, etc.), ultrasonic transducers, wheel encoders, etc. In someexamples, the sensor system(s) 1306 may include multiple instances ofeach type of sensors. For instance, time-of-flight sensors may includeindividual time-of-flight sensors located at the corners, front, back,sides, and/or top of the vehicle 1302. As another example, camerasensors may include multiple cameras disposed at various locations aboutthe exterior and/or interior of the vehicle 1302. In some cases, thesensor system(s) 1306 may provide input to the computing device(s) 1304.

The vehicle 1302 may also include one or more emitter(s) 1308 foremitting light and/or sound. The one or more emitter(s) 1308 in thisexample include interior audio and visual emitters to communicate withpassengers of the vehicle 1302. By way of example and not limitation,interior emitters can include speakers, lights, signs, display screens,touch screens, haptic emitters (e.g., vibration and/or force feedback),mechanical actuators (e.g., seatbelt tensioners, seat positioners,headrest positioners, etc.), and the like. The one or more emitter(s)708 in this example also include exterior emitters. By way of exampleand not limitation, the exterior emitters in this example include lightsto signal a direction of travel or other indicators of vehicle action(e.g., indicator lights, signs, light arrays, etc.), and one or moreaudio emitters (e.g., speakers, speaker arrays, horns, etc.) to audiblycommunicate with pedestrians or other nearby vehicles, one or more ofwhich may comprise acoustic beam steering technology.

The vehicle 1302 can also include one or more communicationconnection(s) 1310 that enable communication between the vehicle 1302and one or more other local or remote computing device(s) (e.g., aremote teleoperations computing device) or remote services. Forinstance, the communication connection(s) 1310 can facilitatecommunication with other local computing device(s) on the vehicle 1302and/or the drive system(s) 1314. Also, the communication connection(s)1310 may allow the vehicle 1302 to communicate with other nearbycomputing device(s) (e.g., other nearby vehicles, traffic signals,etc.).

The communications connection(s) 1310 may include physical and/orlogical interfaces for connecting the computing device(s) 1304 toanother computing device or one or more external network(s) 1334 (e.g.,the Internet). For example, the communications connection(s) 1310 canenable Wi-Fi-based communication such as via frequencies defined by theIEEE 802.11 standards, short range wireless frequencies such asBluetooth, cellular communication (e.g., 2G, 3G, 4G, 4G LTE, 5G, etc.),satellite communication, dedicated short-range communications (DSRC), orany suitable wired or wireless communications protocol that enables therespective computing device to interface with the other computingdevice(s). In at least some examples, the communication connection(s)1310 may comprise the one or more modems as described in detail above.

In at least one example, the vehicle 1302 may include one or more drivesystem(s) 1314. In some examples, the vehicle 1302 may have a singledrive system 1314. In at least one example, if the vehicle 1302 hasmultiple drive systems 1314, individual drive systems 1314 may bepositioned on opposite ends of the vehicle 1302 (e.g., the front and therear, etc.). In at least one example, the drive system(s) 1314 caninclude one or more sensor system(s) 1306 to detect conditions of thedrive system(s) 1314 and/or the surroundings of the vehicle 1302. By wayof example and not limitation, the sensor system(s) 1306 can include oneor more wheel encoders (e.g., rotary encoders) to sense rotation of thewheels of the drive systems, inertial sensors (e.g., inertialmeasurement units, accelerometers, gyroscopes, magnetometers, etc.) tomeasure orientation and acceleration of the drive system, cameras orother image sensors, ultrasonic sensors to acoustically detect objectsin the surroundings of the drive system, lidar sensors, radar sensors,etc. Some sensors, such as the wheel encoders may be unique to the drivesystem(s) 1314. In some cases, the sensor system(s) 1306 on the drivesystem(s) 1314 can overlap or supplement corresponding systems of thevehicle 1302 (e.g., sensor system(s) 1306).

The drive system(s) 1314 can include many of the vehicle systems,including a high voltage battery, a motor to propel the vehicle, aninverter to convert direct current from the battery into alternatingcurrent for use by other vehicle systems, a steering system including asteering motor and steering rack (which can be electric), a brakingsystem including hydraulic or electric actuators, a suspension systemincluding hydraulic and/or pneumatic components, a stability controlsystem for distributing brake forces to mitigate loss of traction andmaintain control, an HVAC system, lighting (e.g., lighting such ashead/tail lights to illuminate an exterior surrounding of the vehicle),and one or more other systems (e.g., cooling system, safety systems,onboard charging system, other electrical components such as a DC/DCconverter, a high voltage junction, a high voltage cable, chargingsystem, charge port, etc.). Additionally, the drive system(s) 1314 caninclude a drive system controller which may receive and preprocess datafrom the sensor system(s) 1306 and to control operation of the variousvehicle systems. In some examples, the drive system controller caninclude one or more processor(s) and memory communicatively coupled withthe one or more processor(s). The memory can store one or more modulesto perform various functionalities of the drive system(s) 1314.Furthermore, the drive system(s) 1314 also include one or morecommunication connection(s) that enable communication by the respectivedrive system with one or more other local or remote computing device(s).

The computing device(s) 1304 may include one or more processors 1318 andone or more memories 1320 communicatively coupled with the processor(s)1318. In the illustrated example, the memory 1320 of the computingdevice(s) 1304 stores perception system(s) 1322, prediction system(s)1324, mapping system(s) 1326, as well as one or more systemcontroller(s) 1328. The memory 1320 may also store data such as sensordata 1332 captured or collected by the one or more sensors systems 1306,factor graph/map data 1330 and sensor data 1332. Though depicted asresiding in the memory 1320 for illustrative purposes, it iscontemplated that the perception system(s) 1322, prediction system(s)1324, mapping system(s) 1326, as well as one or more systemcontroller(s) 1328 may additionally, or alternatively, be accessible tothe computing device(s) 1304 (e.g., stored in a different component ofvehicle 1302 and/or be accessible to the vehicle 1302 (e.g., storedremotely).

The perception system(s) 1322 may be configured to perform objectdetection, segmentation, and/or classification on the sensor data 1332,such as the image or lidar data. In some examples, the perceptionsystem(s) 1322 may generate processed perception data from the sensordata 1332. The perception data may indicate a presence of objects thatare in physical proximity to the vehicle 1302 and/or a classification ortype of the objects (e.g., car, pedestrian, cyclist, building, tree,road surface, curb, sidewalk, unknown, etc.). In additional and/oralternative examples, the perception system(s) 1322 may generate oridentify one or more characteristics associated with the objects and/orthe physical environment. In some examples, characteristics associatedwith the objects may include, but are not limited to, an x-position, ay-position, a z-position, an orientation, a type (e.g., aclassification), a velocity, a size, a direction of travel, etc.Characteristics associated with the environment may include, but are notlimited to, a presence of another object, a time of day, a weathercondition, a geographic position, an indication of darkness/light, etc.For example, details of classification and/or segmentation associatedwith a perception system are discussed in U.S. application Ser. No.15/820,245, which are herein incorporated by reference in theirentirety.

The prediction system(s) 1324 may be configured to determine a trackcorresponding to an object identified by the perception system(s) 1322.For example, the prediction system(s) 1324 may be configured to predicta velocity, position, change in trajectory, or otherwise predict thedecisions and movement of the identified objects. For example, theprediction system(s) 1324 may include one or more machine learned modelsthat may, based on inputs such as object type or classification andobject characteristics, output predicted characteristics of the objectat one or more future points in time. For example, details ofpredictions systems are discussed in U.S. application Ser. Nos.16/246,208 and 16/420,050, both of which are incorporated herein byreference in their entirety.

The mapping system 1326 may be configured to generate or otherwiseutilize the factor graph/map data 1330. For instance, the mapping system1326 may be configured to generate trajectories for the vehicle 1302based on the factor graph/map data 1330. The mapping system 1326 mayalso be configured to update the factor graph/map data 1330 based on thecaptured sensor data 1332 as discussed above with respect to FIGS. 1-12.

In at least one example, the computing device(s) 1304 may store one ormore and/or system controllers 1328, which may be configured to controlsteering, propulsion, braking, safety, emitters, communication, andother systems of the vehicle 1302. The system controllers 1328 maycommunicate with and/or control corresponding systems of the drivesystem(s) 1314 and/or other components of the vehicle 1302, which may beconfigured to operate in accordance with a route provided from aplanning system.

In some implementations, the vehicle 1302 may connect to computingdevice(s) 1336 via the network(s) 1334. For example, the computingdevice(s) 1336 may generate and provide the factor graph/map data 1330and/or trajectories 1344 to and receive the sensor data 1332 from thevehicle 1302. The computing device 1336 may include one or moreprocessor(s) 1338 and memory 1340 communicatively coupled with the oneor more processor(s) 1338. In at least one instance, the processor(s)1338 may be similar to the processor(s) 1318 and the memory 1340 may besimilar to the memory 1320. In the illustrated example, the memory 1340of the computing device(s) 1336 stores the graph/map data 1330 and thesensor data 1332. The memory 1340 may also store a map generation system1342 to assist with compiling and generating the factor graph/map data1330, as discussed above with respect to FIGS. 1-12 .

The processor(s) 1318 of the computing device(s) 1304 and theprocessor(s) 1338 of the computing device(s) 1336 may be any suitableprocessor capable of executing instructions to process data and performoperations as described herein. By way of example and not limitation,the processor(s) 1318 and 1338 can comprise one or more CentralProcessing Units (CPUs), Graphics Processing Units (GPUs), or any otherdevice or portion of a device that processes electronic data totransform that electronic data into other electronic data that can bestored in registers and/or memory. In some examples, integrated circuits(e.g., ASICs, etc.), gate arrays (e.g., FPGAs, etc.), and other hardwaredevices can also be considered processors in so far as they areconfigured to implement encoded instructions.

The memory 1320 of the computing device(s) 1304 and the memory 1340 ofthe computing device(s) 1336 are examples of non-transitorycomputer-readable media. The memory 1320 and 1340 can store an operatingsystem and one or more software applications, instructions, programs,and/or data to implement the methods described herein and the functionsattributed to the various systems. In various implementations, thememory 1320 and 1340 can be implemented using any suitable memorytechnology, such as static random-access memory (SRAM), synchronousdynamic RAM (SDRAM), nonvolatile/Flash-type memory, or any other type ofmemory capable of storing information. The architectures, systems, andindividual elements described herein can include many other logical,programmatic, and physical components, of which those shown in theaccompanying figures are merely examples that are related to thediscussion herein. In some instances, aspects of some or all of thecomponents discussed herein can include any models, algorithms, and/ormachine learning algorithms. For example, in some instances, thecomponents in the memory 1320 and 1340 can be implemented as a neuralnetwork.

CONCLUSION

While one or more examples of the techniques described herein have beendescribed, various alterations, additions, permutations and equivalentsthereof are included within the scope of the techniques describedherein. As can be understood, the components discussed herein aredescribed as divided for illustrative purposes. However, the operationsperformed by the various components can be combined or performed in anyother component. It should also be understood that components or stepsdiscussed with respect to one example or implementation may be used inconjunction with components or steps of other examples. For example, thecomponents and instructions of FIG. 13 may utilize the processes andflows of FIGS. 1-13 .

A non-limiting list of objects may include obstacles in an environment,including but not limited to pedestrians, animals, cyclists, trucks,motorcycles, other vehicles, or the like. Such objects in theenvironment have a “geometric pose” (which may also be referred toherein as merely “pose”) comprising a location and/or orientation of theoverall object relative to a frame of reference. In some examples, posemay be indicative of a position of an object (e.g., pedestrian), anorientation of the object, or relative appendage positions of theobject. Geometric pose may be described in two-dimensions (e.g., usingan x-y coordinate system) or three-dimensions (e.g., using an x-y-z orpolar coordinate system), and may include an orientation (e.g., roll,pitch, and/or yaw) of the object. Some objects, such as pedestrians andanimals, also have what is referred to herein as “appearance pose.”Appearance pose comprises a shape and/or positioning of parts of a body(e.g., appendages, head, torso, eyes, hands, feet, etc.). As usedherein, the term “pose” refers to both the “geometric pose” of an objectrelative to a frame of reference and, in the case of pedestrians,animals, and other objects capable of changing shape and/or positioningof parts of a body, “appearance pose.” In some examples, the frame ofreference is described with reference to a two- or three-dimensionalcoordinate system or map that describes the location of objects relativeto a vehicle. However, in other examples, other frames of reference maybe used.

In the description of examples, reference is made to the accompanyingdrawings that form a part hereof, which show by way of illustrationspecific examples of the claimed subject matter. It is to be understoodthat other examples can be used and that changes or alterations, such asstructural changes, can be made. Such examples, changes or alterationsare not necessarily departures from the scope with respect to theintended claimed subject matter. While the steps herein may be presentedin a certain order, in some cases the ordering may be changed so thatcertain inputs are provided at different times or in a different orderwithout changing the function of the systems and methods described. Thedisclosed procedures could also be executed in different orders.Additionally, various computations that are herein need not be performedin the order disclosed, and other examples using alternative orderingsof the computations could be readily implemented. In addition to beingreordered, the computations could also be decomposed intosub-computations with the same results.

EXAMPLE CLAUSES

A. An system comprising: one or more processors; and one or morenon-transitory computer-readable media storing instructions that, whenexecuted by the one or more processors, cause the one or more processorsto perform operations comprising: receiving data associated with a fleetof autonomous vehicles; determining, based at least in part on the data,a factor graph representative of an environment through which the fleetof autonomous vehicles traveled; determining that a first node of thefactor graph is less than or equal to a threshold distance from a secondnode of the factor graph, the first node of the factor graphrepresenting a first portion of the data associated with a first vehicleof the fleet having a first pose data and the second node of the factorgraph representing a second portion of the data associated with a secondvehicle of the fleet having a second pose; determining a third node ofthe factor graph based at least in part on the first data, the firstpose, the second data, and the second pose, the third node having thirddata; discarding one or more of the first node or the second node;generating an updated representation of the factor graph including thethird node; and transmitting the updated representation to an autonomousvehicle, the autonomous vehicle configured to determine one or more of aposition or an orientation relative to the environment represented bythe factor graph.

B. The system of claim A, wherein the third node is the first node andthe third data is the first data.

C. The system of claim A, wherein discarding one or more of the firstnode or the second node comprises: determining a confidence levelassociated with a localization operation based on the third data; anddetermining the confidence level meets or exceeds a threshold confidencelevel.

D. The system of claim A, wherein determining the distance between thefirst node and the second node is less than or equal to a thresholddistance comprises one or more of: determining a physical distancebetween a first location associated with the first node and a secondlocation associated with the second node, or determining an amount ofoverlap between the first portion of data and the second portion ofdata.

E. The system of claim A, wherein the operations further comprise:receiving additional data associated with an additional region;determining a confidence value associated with a localization operationbased on the factor graph at the additional region is less than or equalto a threshold confidence level; including the additional data as anadditional node of the factor graph; and performing a pose graphoptimization over the factor graph.

F. A method comprising: determining a region of interest associated witha factor graph, the region of interest comprising at least a first nodeand a second node and the factor graph representative of an environmentthrough which a vehicle travels; determining the first node as arepresentative node of the region of interest; determining a transformbetween a first pose of the first node and a second pose of the secondnode; maintaining the second node relative to the first node based atleast in part on the transform; generating a first link between thefirst node and a third node, the third node external to the region ofinterest; generating an updated representation of an environment basedat least in part on the first node and the third node; and sending theupdated representation to an autonomous vehicle.

G. The method of paragraph F, wherein generating the first link betweenthe first node and the third node is based at least in part on aEuclidian distance between the first node and the third node.

H. The method of paragraph G, further comprising generating a secondlink between the first node and a fourth node external to the region ofinterest based at least in part on one or more of the following: acovisibility of a region of an environment within sensor data associatedwith the first node and sensor data associated with the third node; agraph distance between the first node and the third node; a shared unaryglobal factor associated with a position of the first node and aposition of the third node; or a detected loop closure between thesensor data associated with the first node and the sensor dataassociated with the third node.

I. The method of paragraph F, wherein determining the first node as therepresentative node is based at least in part on one or more of thefollowing: a relative position between the first node and the secondnode; a relative position between the first node, the second node, andat least a third node, the third node; a quality of sensor dataassociated with the first node and the second node; a quality of thefactor graph within the region of interest; a convergence metricassociated with the region of interest; or a covisibility metricassociated with the sensor data of the first node and the second node.

J. The method of paragraph F, wherein the transform is a firsttransform, the region of interest is a first region of interest, and themethod further comprising: determining a second region of interestassociated with the factor graph, the second region of interestcomprising at least the first node and a fourth node; determining thefourth node as a representative node of the second region of interest;determining a second transform between a third pose of the fourth nodeand a fourth pose of the first node; maintaining the first node relativeto the fourth node based at least in part on the second transform;maintaining the second node relative to the first node based at least inpart on the first transform; and generating a second link between thefourth node and the third node, the third node external to the firstregion of interest and the second region of interest.

K. The method of paragraph F, further comprising receiving dataassociated with a second region of interest; determining a confidencevalue associated with a localization operation based on the factor graphat the second region of interest is less than or equal to a thresholdconfidence level; including the data as an additional node of the factorgraph; and performing a pose graph optimization over the factor graph.

L. The method of paragraph F, wherein the region of interest isdetermined based at least in part on one or more of the following: aEuclidian distance threshold between the first node and a fourth node,the fourth node external to the region of interest; and a quality ofsensor data associated with the first node and the second node.

M. The method of paragraph F, wherein determining the region of interestis responsive to one or more of the following: determining an age of thefirst node or the second node exceeds or meets a first threshold;determining a number of nodes within the region of interest meets orexceeds a second threshold; a convergence metric associated with theregion of interest meets or exceeds a third threshold; or a point cloudnosiness associated with the region of interest meets or exceeds afourth threshold.

N. A non-transitory computer-readable medium storing instructions that,when executed, cause one or more processors to perform operationscomprising: determining a region of interest associated with a factorgraph, the region of interest comprising at least a first node and asecond node and the factor graph representative of an environmentthrough which a vehicle travels; determining the first node as arepresentative node of the region of interest; determining a transformbetween a first pose of the first node and a second pose of the secondnode; maintaining the second node relative to the first node based atleast in part on the transform; generating a first link between thefirst node and a third node, the third node external to the region ofinterest; and generating an updated representation of an environmentbased at least in part on the first node and the third node.

O. The non-transitory computer-readable medium of paragraph N, whereindetermining the first node as the representative node is based at leastin part on one or more of the following: a relative position between thefirst node and the second node; a relative position between the firstnode, the second node, and at least a third node, the third node; aquality of sensor data associated with the first node and the secondnode; or a quality of the factor graph within the region of interest.

P. The non-transitory computer-readable medium of paragraph N, whereinthe region of interest is determined based at least in part on one ormore of the following: a Euclidian distance threshold between the firstnode and a fourth node, the fourth node external to the region ofinterest; or a quality of sensor data associated with the first node andthe second node.

Q. The non-transitory computer-readable medium of paragraph N, whereingenerating the first link between the first node and the third node isbased at least in part on one or more of the following: a Euclidiandistance between the first node and the third node; a covisibility of aregion of the environment within sensor data associated with the firstnode and sensor data associated with the third node; a graph distancebetween the first node and the third node; a shared unary global factorassociated with a position of the first node and a position of the thirdnode; or a detected loop closure between the sensor data associated withthe first node and the sensor data associated with the third node.

R. The non-transitory computer-readable medium of paragraph N, whereinthe operations further comprise: determining a second region of interestassociated with the factor graph, the second region of interestcomprising at least the first node and a fourth node; determining thefourth node as a representative node of the second region of interest;determining a second transform between a third pose of the fourth nodeand a fourth pose of the first node; maintaining the first node relativeto the fourth node based at least in part on the second transform;maintaining the second node relative to the first node based at least inpart on the first transform; and generating a second link between thefourth node and the third node, the third node external to the firstregion of interest and the second region of interest.

S. The non-transitory computer-readable medium of paragraph N, whereinthe operations further comprise: receiving data associated with a secondregion of interest; determining a confidence value associated with alocalization operation based on the factor graph at the second region ofinterest is less than or equal to a threshold confidence level;including the data as an additional node of the factor graph; andperforming a pose graph optimization over the factor graph.

T. The non-transitory computer-readable medium of paragraph N, furthercomprising sending the updated representation to an autonomous vehicle.

While the example clauses described above are described with respect toone particular implementation, it should be understood that, in thecontext of this document, the content of the example clauses can also beimplemented via a method, device, system, a computer-readable medium,and/or another implementation. Additionally, any of examples A-T may beimplemented alone or in combination with any other one or more of theexamples A-T.

What is claimed is:
 1. A system comprising: one or more processors; andone or more non-transitory computer-readable media storing instructionsthat, when executed by the one or more processors, cause the one or moreprocessors to perform operations comprising: receiving data associatedwith a fleet of autonomous vehicles; determining, based at least in parton the data, a factor graph representative of an environment throughwhich the fleet of autonomous vehicles traveled; determining that afirst node of the factor graph is less than or equal to a thresholddistance from a second node of the factor graph, the first node of thefactor graph representing a first portion of the data associated with afirst vehicle of the fleet having a first pose data and the second nodeof the factor graph representing a second portion of the data associatedwith a second vehicle of the fleet having second pose data, and whereinthe first pose data is different than the second pose data; and based atleast in part on determining that the first node is less than or equalto the threshold distance from the second node: determining a third nodeof the factor graph based at least in part on the first data, the firstpose, the second data, and the second pose, the third node having thirddata; discarding one or more of the first node or the second node;generating an updated representation of the factor graph including thethird node; and transmitting the updated representation to an autonomousvehicle, the autonomous vehicle configured to determine one or more of aposition or an orientation relative to the environment represented bythe factor graph.
 2. The system as recited in claim 1, wherein the thirdnode is the first node and the third data are the first data.
 3. Thesystem as recited in claim 1, wherein discarding one or more of thefirst node or the second node comprises: determining a confidence levelassociated with a localization operation based on the third data; anddetermining the confidence level meets or exceeds a threshold confidencelevel.
 4. The system as recited in claim 1, wherein determining that thedistance between the first node and the second node is less than orequal to the threshold distance comprises one or more of: determining aphysical distance between a first location associated with the firstnode and a second location associated with the second node, ordetermining an amount of overlap between the first portion of data andthe second portion of data.
 5. The system as recited in claim 1, whereinthe operations further comprise: receiving additional data associatedwith an additional region; determining that a confidence valueassociated with a localization operation based on the factor graph atthe additional region is less than or equal to a threshold confidencelevel; including the additional data as an additional node of the factorgraph; and performing a pose graph optimization over the factor graph.6. A method comprising: determining a region of interest associated witha factor graph, the region of interest comprising at least a first nodeof the factor graph and a second node of the factor graph and the factorgraph representative of an environment through which a vehicle travels;determining the first node as a representative node of the region ofinterest; determining a transform between a first pose of the first nodeand a second pose of the second node; maintaining the second noderelative to the first node based at least in part on the transform bymaintaining data about a relation between the first pose of the firstnode and the second pose of the second node; generating a first linkbetween the first node and a third node of the factor graph, the thirdnode external to the region of interest; generating an updatedrepresentation of an environment based at least in part on the firstnode and the third node; and sending the updated representation to anautonomous vehicle.
 7. The method as recited in claim 6, whereingenerating the first link between the first node and the third node isbased at least in part on a Euclidian distance between the first nodeand the third node.
 8. The method as recited in claim 7, furthercomprising generating a second link between the first node and a fourthnode of the factor graph that is external to the region of interestbased at least in part on one or more of the following: a covisibilityof a region of an environment within sensor data associated with thefirst node and sensor data associated with the third node; a graphdistance between the first node and the third node; a shared unaryglobal factor associated with a position of the first node and aposition of the third node; or a detected loop closure between thesensor data associated with the first node and the sensor dataassociated with the third node.
 9. The method as recited in claim 6,wherein determining the first node as the representative node is basedat least in part on one or more of the following: a relative positionbetween the first node and the second node; a relative position betweenthe first node, the second node, and at least the third node; a qualityof sensor data associated with the first node and the second node; aquality of the factor graph within the region of interest; a convergencemetric associated with the region of interest; or a covisibility metricassociated with the sensor data of the first node and the second node.10. The method as recited in claim 6, further comprising: receiving dataassociated with a second region of interest; determining a confidencevalue associated with a localization operation based on the factor graphat the second region of interest is less than or equal to a thresholdconfidence level; including the data as an additional node of the factorgraph; and performing a pose graph optimization over the factor graph.11. The method as recited in claim 6, wherein the region of interest isdetermined based at least in part on one or more of the following: aEuclidian distance threshold between the first node and a fourth node ofthe factor graph, the fourth node external to the region of interest;and a quality of sensor data associated with the first node and thesecond node.
 12. The method as recited in claim 6, wherein determiningthe region of interest is responsive to one or more of the following:determining an age of the first node or the second node exceeds or meetsa first threshold; determining a number of nodes within the region ofinterest meets or exceeds a second threshold; a convergence metricassociated with the region of interest meets or exceeds a thirdthreshold; or a point cloud nosiness associated with the region ofinterest meets or exceeds a fourth threshold.
 13. One or morenon-transitory computer-readable media storing instructions that, whenexecuted, cause one or more processors to perform operations comprising:determining a region of interest associated with a factor graph, theregion of interest comprising at least a first node of the factor graphand a second node of the factor graph and the factor graphrepresentative of an environment through which a vehicle travels;determining the first node as a representative node of the region ofinterest; determining a transform between a first pose of the first nodeand a second pose of the second node; maintaining the second noderelative to the first node based at least in part on the transform bymaintaining data about a relation between the first pose of the firstnode and the second pose of the second node; generating a first linkbetween the first node and a third node of the factor graph, the thirdnode external to the region of interest; generating an updatedrepresentation of an environment based at least in part on the firstnode and the third node; and at least one of sending the updatedrepresentation to an autonomous vehicle or controlling the autonomousvehicle based on the updated representation.
 14. The one or morenon-transitory computer-readable media as recited in claim 13, whereindetermining the first node as the representative node is based at leastin part on one or more of the following: a relative position between thefirst node and the second node; a relative position between the firstnode, the second node, and at least the third node; a quality of sensordata associated with the first node and the second node; or a quality ofthe factor graph within the region of interest.
 15. The one or morenon-transitory computer-readable media as recited in claim 13, whereinthe region of interest is determined based at least in part on one ormore of the following: a Euclidian distance threshold between the firstnode and a fourth node of the factor graph, the fourth node external tothe region of interest; or a quality of sensor data associated with thefirst node and the second node.
 16. The one or more non-transitorycomputer-readable media as recited in claim 13, wherein generating thefirst link between the first node and the third node is based at leastin part on one or more of the following: a Euclidian distance betweenthe first node and the third node; a covisibility of a region of theenvironment within sensor data associated with the first node and sensordata associated with the third node; a graph distance between the firstnode and the third node; a shared unary global factor associated with aposition of the first node and a position of the third node; or adetected loop closure between the sensor data associated with the firstnode and the sensor data associated with the third node.
 17. The one ormore non-transitory computer-readable media as recited in claim 13,wherein the operations further comprise: receiving data associated witha second region of interest; determining a confidence value associatedwith a localization operation based on the factor graph at the secondregion of interest is less than or equal to a threshold confidencelevel; including the data as an additional node of the factor graph; andperforming a pose graph optimization over the factor graph.
 18. The oneor more non-transitory computer-readable media as recited in claim 13,wherein the operations comprise sending the updated representation tothe autonomous vehicle.
 19. The system of claim 1, wherein: the firstportion is captured from the first vehicle and relates to a first timeinterval in which the first vehicle is estimated to have the first posedata, and the second portion is captured from the second vehicle andrelates to a second time interval in which the second vehicle isestimated have the second pose data.
 20. The system of claim 1, whereindiscarding one or more of the first node or the second node comprisesremoving one or more of the first node or the second node from thefactor graph based at least in part on determining that a number ofnodes in a region comprising the first node and the second node isgreater than a threshold number.